<script language="javascript" type="text/javascript">
  $(document).ready(function() {
        // Creation du tabcontrol au chargement de la page
	tab_infos = $("#tabs_interfaces_map").tabs({ disabled: [] });
  });
</script>
<?php
if (count($this->infos) > 0)
{
?>
    <div id="tabs_interfaces_map">
        <ul>
            <?php
            // Header du tabControl
            $i = 0;
            foreach ($this->infos as $interfaces)
            {
                ?>
                    <li><a href="#fragment-<?php echo $i; ?>"><span><?php echo $interfaces['DescriptionInterface']; ?></span></a></li>
                <?php
                $i++;
            }
            ?>
        </ul>
        <?php
        // Contenu du TabControl
        $i = 0;
        foreach ($this->infos as $interfaces)
        {
            echo '<div id="fragment-' . $i . '">';
            foreach ($interfaces as $key => $value)
            {
                if ($key != 'IdDetail')
                {
                    echo '<b>' . $key . ':</b>&nbsp;' . $value . '<br />';
                }
            }
            echo '</div>';
            $i++;
        }
        ?>
    </div>
<?php
}
else
{
?>
<?php
echo TOPOLOGI_BODY_INTERFACE_COMPOSANT;
}
?>
